<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:py="http://genshi.edgewall.org/"
    xmlns:xi="http://www.w3.org/2001/XInclude">
<body>

<form id="batchmod_form" method="post">

<fieldset id="batchmod_fieldset">
    <legend class="foldable">Batch Modify &raquo;</legend>
    <div id="folding">
    <div id="foldingbody">
    <table summary="Batch modification fields">
        <tr id="batchmod_comment">
            <th colspan="2">
                <label for="batchmod_value_comment">Comment:</label>
            </th>
            <td class="fullrow"><textarea
                id="batchmod_value_comment" name="batchmod_value_comment" value="" cols="70" rows="5"/>
            </td>
        </tr>
        
        <tr>
          <th colspan="2"><label class="batchmod_label" for="add_batchmod_field">Add Field:</label></th>
            <td>
                <select id="add_batchmod_field">
                    <option></option>
                    <option py:for="field in fields" py:if="field.name not in ('time', 'changetime')" value="${field.name}">${field.label}</option>
                </select>
            </td>
        </tr>
        <tr>
            <th colspan="2"><label class="batchmod_label" for="batchmod_modify_changetime">Modify Ticket Changetime</label></th>
            <td>
                <input type="checkbox" id="batchmod_modify_changetime" name="batchmod_modify_changetime" value="true" checked="checked" />
            </td>
        </tr>
        <tr py:if="notify_enabled">
            <th colspan="2"><label class="batchmod_label" for="batchmod_send_notifications">Send E-mail Notifications</label></th>
            <td>
                <input type="checkbox" id="batchmod_send_notifications" name="batchmod_send_notifications" value="true" checked="checked" />
            </td>
       </tr>
    </table>
    </div>
    <div class="buttons" id="batchmod_buttons">
        <input type="hidden" name="selectedTickets" value=""/>
        <input type="hidden" name="query_href" value="${query_href}"/>
        <span class="primaryButton">
          <input type="submit" id="batchmod_submit" name="batchmod_submit" value="Change tickets" />
        </span>
    </div>
    <div id="foldingbottom"><span></span></div>
    </div>
    
</fieldset>
</form>

</body>

</html>
